using System;

namespace UnityEngine
{
	public enum FilterMode
	{
		Point = 0,
		Bilinear = 1,
		Trilinear = 2,
	}

	public enum TextureWrapMode
	{
		Repeat = 0,
		Clamp = 1,
	}

	public enum NPOTSupport
	{
		None = 0,
		Restricted = 1,
		Full = 2
	}

	public enum TextureFormat
	{
		Alpha8 = 1,
		ARGB4444 = 2,
		RGB24 = 3,
		RGBA32 = 4,
		ARGB32 = 5,
		RGB565 = 7,
		DXT1 = 10,
		DXT5 = 12,
		RGBA4444 = 13,

		[System.Obsolete ("Use PVRTC_RGB2")]
		PVRTC_2BPP_RGB = 30,
		[System.Obsolete ("Use PVRTC_RGBA2")]
		PVRTC_2BPP_RGBA = 31,
		[System.Obsolete ("Use PVRTC_RGB4")]
		PVRTC_4BPP_RGB = 32,
		[System.Obsolete ("Use PVRTC_RGBA4")]
		PVRTC_4BPP_RGBA = 33,

		PVRTC_RGB2 = 30,
		PVRTC_RGBA2 = 31,
		PVRTC_RGB4 = 32,
		PVRTC_RGBA4 = 33,
		ETC_RGB4 = 34,
		ATC_RGB4 = 35,
		ATC_RGBA8 = 36,
		BGRA32 = 37,
		ATF_RGB_DXT1 = 38,
		ATF_RGBA_JPG = 39,
		ATF_RGB_JPG = 40
	}

	public enum CubemapFace
	{
		PositiveX = 0,
		NegativeX = 1,
		PositiveY = 2,
		NegativeY = 3,
		PositiveZ = 4,
		NegativeZ = 5
	}

	public enum RenderTextureFormat
	{
		ARGB32 = 0,
		Depth = 1,
		ARGBHalf = 2,
		RGB565 = 4,
		ARGB4444 = 5,
		ARGB1555 = 6,
		Default = 7,
		DefaultHDR = 9,
		ARGBFloat = 11,
		RGFloat = 12,
		RGHalf = 13,
		RFloat = 14,
		RHalf = 15,
		R8 = 16,
		ARGBInt = 17,
		RGInt = 18,
		RInt = 19
	}

	public enum RenderTextureReadWrite
	{
		Default = 0,
		Linear = 1,
		sRGB = 2
	}
	
} // namespace UnityEngine


namespace UnityEngine.Rendering
{
	public enum BlendMode
	{
		Zero = 0,
		One = 1,
		DstColor = 2,
		SrcColor = 3,
		OneMinusDstColor = 4,
		SrcAlpha = 5,
		OneMinusSrcColor = 6,
		DstAlpha = 7,
		OneMinusDstAlpha = 8,
		SrcAlphaSaturate = 9,
		OneMinusSrcAlpha = 10
	}

	public enum BlendOp
	{
		Add = 0,
		Subtract = 1,
		ReverseSubtract = 2,
		Min = 3,
		Max = 4,
		LogicalClear = 5,
		LogicalSet = 6,
		LogicalCopy = 7,
		LogicalCopyInverted = 8,
		LogicalNoop = 9,
		LogicalInvert = 10,
		LogicalAnd = 11,
		LogicalNand = 12,
		LogicalOr = 13,
		LogicalNor = 14,
		LogicalXor = 15,
		LogicalEquivalence = 16,
		LogicalAndReverse = 17,
		LogicalAndInverted = 18,
		LogicalOrReverse = 19,
		LogicalOrInverted = 20,
	}

	public enum CompareFunction
	{
		Disabled = 0,
		Never = 1,
		Less = 2,
		Equal = 3,
		LessEqual = 4,
		Greater = 5,
		NotEqual = 6,
		GreaterEqual = 7,
		Always = 8
	}

	public enum CullMode
	{
		Off = 0,
		Front = 1,
		Back = 2
	}

	[Flags]
	public enum ColorWriteMask
	{
		Alpha = 1,
		Blue = 2,
		Green = 4,
		Red = 8,
		All = 15
	}

	public enum StencilOp
	{
		Keep = 0,
		Zero = 1,
		Replace = 2,
		IncrementSaturate = 3,
		DecrementSaturate = 4,
		Invert = 5,
		IncrementWrap = 6,
		DecrementWrap = 7
	}


} // namespace UnityEngine.Rendering
